import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { MatIconModule } from '@angular/material/icon';

import { BaseSharedModule } from '@base/shared.module';
import { BaseHighlightModule } from '@base/components/index';

import { BaseConfigServiceDocsComponent } from 'app/main/documentation/services/base-config/base-config.component';
import { BaseSplashScreenServiceDocsComponent } from 'app/main/documentation/services/base-splash-screen/base-splash-screen.component';

const routes = [
    {
        path     : 'base-config',
        component: BaseConfigServiceDocsComponent
    },
    {
        path     : 'base-splash-screen',
        component: BaseSplashScreenServiceDocsComponent
    }
];

@NgModule({
    declarations: [
        BaseConfigServiceDocsComponent,
        BaseSplashScreenServiceDocsComponent
    ],
    imports     : [
        RouterModule.forChild(routes),

        MatIconModule,

        BaseSharedModule,
        BaseHighlightModule
    ]
})

export class ServicesModule
{
}
